package com.company.singleton;

/**
 * @author HuangZiy
 * @date 2020/09/12
 */
public class Holder {
    private Holder(){}
    public static Holder getInstance(){
        return InnerClass.HOLDER;
    }
    public static class InnerClass{
        private static final Holder HOLDER = new Holder();
    }
}
